﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Akso.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Akso.ItemDetails.Dto
{
    /// <summary>
    /// 主页面查询时显示网格数据时的Dto对象。
    /// </summary>
    [AutoMapFrom(typeof(ItemDetail))]  //必须有这句 ，否则网格无法显示数据
    public class ItemDetailListDto: EntityDto<Guid>
    {
        public string ItemName { get; set; }
        public string ItemCode { get; set; }
        public string Specification { get; set; }
        public decimal PurchasePrice { get; set; }
        public decimal SalePrice { get; set; }
        public string Units { get; set; }
        public string Remark { get; set; }
    }
}
